package org.nidy.erp.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employees {
    private Integer id;
    private String loginid;
    private String password;
    private String lastname;
    private Short sex;
    private String mobile;
    private Integer jobtitle;
    private Integer joblevel;
    private Integer seclevel;
    private Integer departmentid;
    private Integer subcompanyid1;
    private Integer managerid;
    private String createdate;
    private Integer status;
    private String token;

    @TableField(select = false)
    private String newpassword;

    public Employees(Integer id, String loginid, String lastname, String token) {
        this.id = id;
        this.loginid = loginid;
        this.lastname = lastname;
        this.token = token;
    }
}
